package mk.com.ldm.corepoint.implementation.shared;

import java.io.Serializable;
import java.util.HashMap;

@SuppressWarnings("serial")
public class Filter implements Serializable{
	private String name;
	private HashMap<String, String> value;
	private String operator;
	
	public Filter(){}

	public Filter(String name, HashMap<String, String> value, String operator) {
		super();
		this.name = name;
		this.value = value;
		this.operator = operator;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public HashMap<String, String> getValue() {
		return value;
	}

	public void setValue(HashMap<String, String> value) {
		this.value = value;
	}
	
	public void putValue(String key, String value){
		this.value.put(key, value);
	}
	
	public void removeValue(String key){
		this.value.remove(key);
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}
	
}
